﻿﻿@model Dictionary<GameSchoolApplication.Models.UserAccount, GameSchoolApplication.Models.Submission>

@{
ViewBag.Title = "AssignmentSubmissionsDisplay";
}


<div>
<table border="1">
<thead><tr><th>Nafn</th><th>Skoða skil</th><th> </th></tr></thead>
<tbody id="accountDisplay">

@foreach (var u in Model)
{
<tr>
<td>@u.Key.name</td>
<td class="editUser">@Html.ActionLink("Skoða innsendingu", "FileSubmissionsDisplay", "Assignment", new { submissionID = u.Value.submissionID }, null)</td>
</tr>
}
</tbody>
</table>
</div>

